<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link rel="stylesheet" href="__PUBLIC__/assets/css/jquery-ui.css" />
</block>
<block name="stylecss">
<style type='text/css'>
    table tr td{
        width: 80%;
    }
    table tr th{
        width: 16%;
        text-align: center;
        vertical-align: middle!important;
    }
</style>
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>
    <li>
		<a href="{:U('Suggest/index')}">反馈列表</a>
	</li>
	<li class="active">意见反馈详细信息</li>
</ul><!-- /.breadcrumb -->

<!-- #section:basics/content.searchbox -->
<div class="nav-search" id="nav-search"></div><!-- /.nav-search -->
</block>
<block name="content">
<div class="space-6"></div>
<div class="row" style="margin-bottom:7px">
    <div class="col-xs-12"><span class="label label-warning label-lg arrowed"> 用户信息 </span></div>
</div>
<table class="table table-striped table-bordered table-hover" >
    <tr>
        <th>Midi ID</th>
        <td><?php echo formatNO($suggest_arr['suggest_user_id'],6);?></td>
    </tr>
    <tr>
        <th>昵称</th>
        <td><?php echo $suggest_arr['user_nickname'];?></td>
    </tr>
    <tr>
        <th>姓名</th>
        <td><?php echo $suggest_arr['user_name'];?></td>
    </tr>
    <tr>
        <th>手机号</th>
        <td><?php echo $suggest_arr['user_phone'];?></td>
    </tr>
</table>

<div class="row" style="margin-bottom:7px">
    <div class="col-xs-12"><span class="label label-purple label-lg arrowed"> 反馈详情 </span></div>
</div>
<table class="table table-striped table-bordered table-hover" >
    <tr>
        <th>反馈类型</th>
        <td>
        	<?php if ($suggest_arr['suggest_type'] == 1): ?>
				<span style="color:red">信息举报</span>
			<?php elseif ($suggest_arr['suggest_type'] == 2): ?>
				<span style="color:green">完善建议</span>
			<?php elseif ($suggest_arr['suggest_type'] == 3): ?>
				<span style="color:orange">相关咨询</span>
			<?php elseif ($suggest_arr['suggest_type'] == 4): ?>
				<span style="color:blue">考级反馈</span>
			<?php elseif ($suggest_arr['suggest_type'] == 5): ?>
				<span style="color:pink">其他问题</span>
			<?php endif ?>
        </td>
    </tr>
    <tr>
        <th>反馈内容</th>
        <td>{$suggest_arr.suggest_content}</td>
    </tr>
    <tr>
        <th>反馈时间</th>
        <td>{$suggest_arr.suggest_time}</td>
    </tr>
</table>

<button type="button" class="btn btn-sm btn-light" onclick="location.href='{$_SERVER[HTTP_REFERER]}'"><i class="ace-icon fa fa-arrow-left"></i> 返回</button>

</block>
<block name="scripts"></block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_suggest').addClass('active open');
        $('#menu_suggest_list').addClass('active');
    });
</script>
</block>